package com.joysuch.wwyt.list.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author: JamesZY
 * @date: 2021/6/15
 * @description:清单工作
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_bp_list_biz_work")
@ApiModel(value="BpListBizWork对象", description="")
public class BpListBizWork extends UserDataEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号，主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "清单id")
    private Long listId;

    @ApiModelProperty(value = "工作名称")
    private String workName;

    private String content;

    @ApiModelProperty(value = "工作状态：0=未完成，1=完成")
    private Integer state;

    @ApiModelProperty(value = "附件")
    private String attachments;
}
